package cn.ljlao.mall.product.goods.controller;


import cn.ljlao.common.utils.R;
import cn.ljlao.mall.product.goods.entity.SpuInfoDescEntity;
import cn.ljlao.mall.product.goods.service.AttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("product/test")
public class TestController {

    @Autowired
    private AttrService attrService;


    /**
     * 保存
     */
    @RequestMapping("/saveaa")
    //@RequiresPermissions("goods:spuinfodesc:save")
    public R saveaa(){
        attrService.saveaa();

        return R.ok();
    }
}
